<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<link rel="stylesheet" type="text/css" href="css/departmentCss/base.css">
	<link rel="stylesheet" type="text/css" href="css/departmentCss/layout.css">
	<link rel="stylesheet" type="text/css" href="css/departmentCss/zebra_dialog.css">
    <link rel="stylesheet" type="text/css" href="css/appointmentCss/secondary.css">
	<style type="text/css">
	.table3 td{
		height: 80px;
	}
	.table3 td .td_btn{
		width: 74px;
	    height: 65px;
	}
</style>
</head>
<body>
	<div class="header">
        <div class="wrapper clearfix">
            <div class="logo">
                <a id="headBaseConfigWebTitle" href="javascript:void (0)" style="cursor: text;">青山门诊预约挂号</a>
            </div>
        </div>
    </div>
	<div class="topNav">
        <div class="wrapper">
            <div class="topNav_menu">
                <ul class="clearfix">
                    <li>
                        <a id="futureReservation" th:href="@{/department}" >首页</a>
                    </li>
                    <li class="last">
                        <a href="appointment.html">我的中心</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="main appointment_main">
    <div class="wrapper clearfix">
        <p class="mt30 clearfix">

            <input type="hidden" id="timeType" value="2">
            <span class="fl"> <a th:href="@{/department}">首页</a>
					&gt; <a href="javascript:window.history.go(-1);"> 血液病科 </a>&gt;
					<a href="javascript:void(0)" style="text-decoration: none;cursor: text;">童向民</a>
				</span>
        </p>
        <div class="search_list clearfix">
            <div class="baseRight">
                <div class="title01">我的预约<div class="Tab"><em class="active">预约</em></div>
            </div>
            <div class="dOrders" th:each="app:${appointment}">
                <div class="item01">
                    <h5 th:text="${app.getDoctorid()==201010?'陈明显':(app.getDoctorid()==201020?'吴建军':(app.getDoctorid()==201030?'伍鸿基':'朱耀群'))}"></h5>
                    <p><em th:text="${app.getOutpatientid()==1?'内科':(app.getOutpatientid()==2? '外科':(app.getOutpatientid()==3?'儿科':'妇产科'))}"></em></p>
                    <span th:text="${app.getDoctorid()==201010?'住院医师':(app.getDoctorid()==201020?'主治医师':(app.getDoctorid()==201030?'副主任医师':'主任医师'))}"></span>
                </div>
                <div class="item02">
                    <em>就诊时间</em>
                    <p th:text="${app.getWorkday()}"></p>
                    <span th:text="${app.getTime()==0?'上午':'下午'}"></span>
                </div>
                <div class="item03">
                    <em>挂号收费</em>
                    <p th:text="${app.getDoctorid()==201010?'10':(app.getDoctorid()==201020?'20':(app.getDoctorid()==201030?'30':'40'))}"></p>
                </div>
                <div class="item04">
                    <em>预约状态</em>
                    <em class="status" th:text="${app.getState()==0?'已成功 暂未交费':'已缴费'}"></em>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
        </div>

     

        <script type="text/javascript">
            $(document).ready(function () {
                if ("1" == 0)
                    alert("该医生暂无排班");
            })
        </script>
    </div>
</div>
</body>
</html>